package com.snoob.springboot.constant;

/**
 * @description: TODO RocketMq Topic
 * @author: lixing
 * @time: 2021/6/14 10:36
 */
public interface RocketMqTopicConstant {
    /**
     * 当前项目名称，可用于RocketMq的组名
     */
    String PROJECTNAME = "SpringCloudAlibabaDemo";
    /**
     * 日志
     * SpringCloudAlibabaDemo-log
     */
    String LOG_TOPIC = PROJECTNAME + "-log";
    String LOG_TAG_API = "API";
    String LOG_TAG_MAIL = "MAIL";
    String LOG_TAG_MSG = "MSG";
    /**
     * BFF层Topic (api-admin服务、api-app服务，api-asyn服务，api-auth服务，api-pay服务)
     * SpringCloudAlibabaDemo-log:API
     */
    String LOG_TOPIC_API = LOG_TOPIC + ":" + LOG_TAG_API;
    /**
     * BFF层Topic (api-admin服务、api-app服务，api-asyn服务，api-auth服务)
     * SpringCloudAlibabaDemo-log:MAIL
     */
    String LOG_TOPIC_MAIL = LOG_TOPIC + ":" + LOG_TAG_MAIL;
    /**
     * BFF层Topic (api-admin服务、api-app服务，api-asyn服务，api-auth服务)
     * SpringCloudAlibabaDemo-log:MSG
     */
    String LOG_TOPIC_MSG = LOG_TOPIC + ":" + LOG_TAG_MSG;
}
